updated lab7 with code and full instructions