Adding helper function, adding d3.layout, writing README