adding corrections to exercise 1 and 2 and also first commit of exercise 3 and 4