Added maptemplate(n)

Added the maptemplate(n) package, as a better tempting system for
generating Tcl code.