got basic legend displaying
basic functionality working for legend
Merge pull request #15 from stomatocode/add-legend

Add legend
removed debugger statement
fix merge conflict