Prolog Assignment done during Logic in Computer Science Course