Wrote the entire translateShip method (ugly and too long for my taste
but oh well). 
Ran some tests but not all possible test cases.