Added methods

Ships now have a variable that records distance traveled called
traveled.
Towers have a function called distanceToShip(ship s) which calculates
its distance to a ship.