Helper Image Script

Helper script to:
(-g) Convert image to greyscale
(-i) Convert image to greyscale matrix in a text file
(-o) Convert greyscale matrix in a text file to image