Implemented the Jumble algorithm.