Add histogram equalization and specification.

Also add a read operation in Histogram, which I forgot to do.
The argument processing in main is overrode and only supports histogram
specification from two input images now.