Solution to problem 1 updated
Solution to problem 2 updated
Solution to problem 3 updated
Solution to problem 4 updated