Added some tests and added a function to determine if the board is in check
Added some tests and added a function to determine if the board is in check