The Snake game is almost done

Created the obstacle class.
Improved output to the screen.
Some optimizations.