Create program1.cpp

feel free to comment on anything that can be improved