a simple program to grade results strings
Updated rules to grade more cases and be treat timeout just like failure