Coderbyte String Reduction Hackerrank Solution For Between Two