Making interactive console a callable function
Added a new example: hello_loop