Added pi example.
Compare pi to 3.1 in tests.