Thoughtworks Interview Question

Create production quality code given coordinate inputs/directions and outputs the final location.