To create a class that allows the use of matrices in java