Task a implemented

get_histograms extended to create two arrays (foreground, background)
indicating which pixels where included in the scribbles