public void addQueenAt(XYLocation l) { if (!(queenExistsAt(l))) squares[l.getXCoOrdinate()][l.getYCoOrdinate()] = 1; }