generate circle and square