public static void main(String args[]) {
		BallContainer ballContainer = new BallContainer();
		ballContainer.appendBall(new Ball("red"));
		ballContainer.appendBall(new Ball("blue"));
		ballContainer.appendBall(new Ball("yellow"));
		Iterator ite = ballContainer.iterator();
		while (ite.hasNext()) {
			Ball ball = (Ball) ite.next();
			System.out.println(ball.getBallColor());
		}
	}