Update helloworld.c

added a factorial function
Merge pull request #8 from tariksahni/master

Update helloworld.c