Render squares with path and pass coordinates to CardView constructor