Fix 3 match game bug in assignment01