Preparation for release 1.2.1 which includes minor bugfixes.
Check that the policy file is readable for the current user.
Exit with an error if Prolog said something about "Goal (directive) failed:". It usually means that the student's program didn't return a solution, had the wrong arity, etc.
Delete the temp file before exiting.
Initial version.