Exercise 5.39 - lexical-address-lookup and lexical-address-set! - with as much code shared as possible