Finished tilecode function

Also commented out the code throwing errors in getTranslatedCoordinated,
and added the pass. Probably can delete this whole method... it was one
line of code, so I put it inline into tilecode (lines 10 and 11)