Solution to FrogRiverOne