Kill the snake if it's out of bounds, allow the user to quit the game by pressing q
Make the direction-changing part a bit cleaner
Wrap the wrapper so curses will stop randomly exploding.
Fix stupid (x, y) vs (y, x) bugs
Apple no longer spawns outside the screen, making golden apples gold (not sure if this part will work on win32)