Separated the legend from the graphs.

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