Adding MainFrame.java

This is the main UI of the program.

Signed-off-by: mohsen <kamrani@ce.sharif.edu>