Compute Total Manual Distance | Coinbase Coding Question