Create in_check? method for Board class