finished game engine

But it has many bugs, as player not rendering correctly at the start of
a level and the last map not unloading. I'll just have to fix those and
add a few more maps then it will be finished