Update hello.cpp

Made the necessary corrections. Works!