Create constructor.cpp

Constructor example.