Created class MyJPanel that represents the Screen and Drawing
functionalities.