added a class ProcessImage for implementing algorithms. Implemented convert to grayscale image algorithm.