add legend according to example: http://leafletjs.com/examples/choropleth.html