add all_turns.cpp and all_rivers.cpp