pset1/mario.c, complete