Fix Frog move algorithm #15