Solution to FrogJmp