Learn Prolog Now! Exercise Solutions