Added main game loop
Added throttle to the amount of ticks per second.
Added repaint. It still has flickering.
Merge remote-tracking branch 'origin/testing' into prototype
all my shizzle