finished circle-rect sample program