added isTaken method to Board