patch_sharp() takes a lisp environment as argument
Fixed the patch_sharp() routine so that #3(x) returns #(x x x).