Create MainProgram.cs

This is the main program source, it is still in rudimentary form. It can handle any square matrix, provided you have a big enough screen to display it. I am working on getting it to work or rectangular arrays and a GUI which makes displaying much easier and the actual simulation look much nicer.