Added documentation for ring.
Merge pull request #95 from jeluard/master

Documentation for ring