stung function

I have completed the assignment according to the directions. Lots of
comments for this commit.