class for each exercise created directly from name passed through addExercise function