Update hello.cpp

Added function named msg