Erlang Solution to 99 Problems given on "https://sites.google.com/site/prologsite/prolog-problems"