FibFrog solution (correctness is 100%, performance is 0%, algorithm needs to be improved)