Changed mario.c and greedy.c to pass check50