Implemented the code in a more sensible way. Created the abstract Ring
class. Extended it in the Invisibility Ring class.