Added preliminary game loop.
Merge pull request #1 from kuroskin/master

Added preliminary game loop.