Added existing game math scripts from make-it-hit and motified a little to match PEP-8. Also some small improvements for convenience.