Fixed the food spawning in the walls
Fixed the snake not colliding with itself
Added speed control to the snake
Exit if the ncurses window is too small
Bugs: I think the food might spawn into the border making the game unplayable.
Fixed: The snake can no longer go inside the border.
Also fixed the bug where pressing a key multiple times could skip the
food while the snake went over it.