O and i ment to give each square a number. Sorry for the typo.

Now since my time is running out im going to go ahead and ask for some help determaning weather the step was up, down, left, or right. I already know how to print it out. What i need to know is how to actually write the part that determines what direction im going in. So if yall could help me answer these questions, i would apreacate it.