CS250 Java project2 gym membership using polymorphism