created a class Matrix Coords to hold the coords

KingFigure and PawnFigure hold instances of that class

the check for correct input is in MatrixCoords class