Add cursor movement

All walls are now built gradually while the cursor moves across the arena.
Also moved all maths related globals to a separate .js file.