Create lab3.cpp

Not sure if previous commits worked.
part 1