Revert "Revert "Added square path drawing""

This reverts commit 0b2a01024ad46bb0e2f14113a8cc725410f2ce44.