Added reading from text files for 2x2 inputs