Prolog problems found online. Haven't used Prolog since time in University, just to pass the time and refresher.