I have added three classes with methods and instance variable.