CPP AI stuff is started. The getAllMoves function is almost good.
See TODO in cpp_code.cc