FibFrog implementation in C++, 100%