add a function to plot histograms
start implementing color support