Corrected insertMine function and added printMatrix function