Remove food from the loop of footer and header. Remove memset initializations of move_x and move_y with -1.