Added Exercise 1.40-1.44

Part of exercises( 1.40 - 1.44 ) in SICP 1.4.3