Input update

• Switched from using a data declaration for directions to using points
(x, y).
• Remodelled how to handle keyboard input