Added two examples for ring computation.
Merge branch 'add-examples'