This is part of the model of an MVC chess game made using java