Edited getShip to work correctly.
Added a few helper functions to Location for above.