Update MainPanel.java

keyboard works i tested all buttons, just need to implement algorithms and other functions