FIXED IT

Seems that the issue was that the temp counters got out of wack
screwing up the rest of the functions. If the else statement is
activated I added a statement that reverses the intial add\subtract 1
from the tempX\Y variable. That fixed the issue