public void startElement(String arg0, String arg1, String qname,
			Attributes attrs) throws SAXException {
		if(qname.equals("is:lineofsquares")){
			this.environment = new Environment(Integer.parseInt(attrs.getValue("length")));
		}
		else if(qname.equals("is:white")){
			((Environment)this.environment).addSquare(Square.WHITE);
		}
		else if(qname.equals("is:black")){
			((Environment)this.environment).addSquare(Square.BLACK);
		}

	}