changed updateBoard method to take in a Turn object instead so that castling can be handled more gracefully