I am trying to write a code fragment that will create a menu using Tk. The code should take two arguments: @buttons and %actions, where @buttons contains all the names and % actions contains references to subs that must be executed when user hits a button. ([()],[()],[()] may be more efficient but that's not the point here)