added navigation.cpp for code review