Changed outfile of MToImage to be a class constant
Added RGB_DEPTH constant of 3 to replace random magic numbers
Formatting changes
Deleted stray whitespace
Corrected MToImage implementation

PIL is finicky about how it accepts image data in that it requires tuples for pixel values. No luck getting Image.fromarray() to work, so Image.putdata() will have to do for now.
Implemented k-Means function / algorithm
Added main routine for K = 2, 4, 8, 16