Problems are from https://sites.google.com/site/prologsite/prolog-problems/1
99 prolog problems in SML