created drawSquare function in leaflet_lib