Jumble solver for Twice coding challenge