added exercise from class

still needs to be completed