Implemented string_ring and started implementing problem 22