Task 3: First commit.

- Added input for 3 samples per class using mouse clicks.
- Implemented computing mean and variance for each of RGB in each class.
- Added option to open or generate images in grayscale.

Notes:
IndexOutOfRange exception in Segment.cs (after debugging, found index=-1
for some reason).