added MenuItem.java and IMenuItem.java for the pause menu