using stringStream instead of sprintf
add constructor function for HelloWorldScene