Added unittest runner to run doctests

To use:

    $ python -m unittest tests.py
MiddleBot test assumes 100 x 100 battlefield
Added get_dist function to maths.py
Corrected Game._get_intersections test. Code WIP.