Added NewExerciseActivity class and implemented its functionalities