Fixed direction reversal bug

The bug was resolved by recording the last direction in which the visible, integer-defined snake head moved and preventing any movement in that direction.

There are no known bugs with this code and it will likely not be given significant attention until Pong and Tetris are functional or until lodev function are closer to completion.