adding my solutions for class 4