Completed assignment class exercises
(Revision Task Q1-5)