Create perimeter.cpp