Problem 40 solved.
Problem 41 solved.
Problem 42 solved.
Problem 43 solved.