Update hello.cpp

add a for loop and return value.