Separated the legend from the graphs.

Fixes #5 Remove the legend from graphs and provide it separately.