Create halfplane.cpp