validates inputs to make sure no nils are passed into workouts parameter, checks to see if there are exercises in the correct categories