script for testing the validity of c programs against a predetermined solution file