Create midpointlistener1.cpp