Rings for MAT 685
Mathematical ring implementation to demonstrate templates and inheritance