Solved FrogRiverOne in C