Create 2ptFunction.cpp