added max_path.cpp