Implement string-based rounding without floats | Pinterest Interview Question