Updated main.cpp with greeting.