Create blocks.js

contains function used to draw on the map