implement gui for point in polygon functionality