Create slam.cpp