created a new class for Frequency and gave workouts a Frequency field