added hello world example
do not forget to free memory!