Add my solutions for lab4's homerwork 2, 3 and 4