Adds method that creates matrix int matrix from text file