Added class MenuDict(dict)

An object of the this class will keep track of all the menuitems
and submenus