feat(lab2): solve q7
feat(lab2): solve q8