Create Panel.java

This is the file which runs as the main function. It requires a path to a folder with the images to be compressed.