Added a solution for lab 7