Fixed repeated function in 1.43 and 1.44
Exercise 1.45 completed.