The Rectangle and Circle classes both extend from a common superclass named Shape. Your task is to implement this class so that the tester program compiles and runs successfully.