polygon clipping program with GUI