Final version ofn mario.c