Added lab problem 5