Added code to generate single-dimension colour histograms for an image.

Signed-off-by: Charlotte Pierce <charlotte@malformed-bits.com>
Added code to create 2D and 3D histograms.

Signed-off-by: Charlotte Pierce <charlotte@malformed-bits.com>