updated addMenuItem in Menu class

created a string list for storing names of all menuitems.