check mate implemented but has some bugs left, its now not possible to move outside the gameborad