tank collision and threading

Tanks die and lose 1 point each when they collide.
There is also a threading template for running AStar and other
time-consuming methods.