Added a Menu Bar to MainWindow
Added Event listener to JCheckBoxMenuItem.
Added action listener to Exit MenuItem