Add a sample factorial snippet.

- A factorial code snippet provided with the google test framework
  as a sample was added. This was both to add to my library of
  snippets as well as to add an example of using google test with
  c++ code.