Added Midline Invasion. Fixed Elephant rampage.
Moved distance function. Fixed tabs -> spaces in xboard.py.