Program to automatically check answers