private void addPieces() {
		for(int x = 0 ; x< 8 ; x++)
		{
			Pawn whitePawn = new Pawn(true, new Point(x,1),this);
			Pawn blackPawn = new Pawn(false, new Point(x,6),this);
			
			Piece strongBlack=null;
			Piece strongWhite = null;
			if(x==0||x==7)
			{
				strongWhite = new Rook(true,new Point(x,0),this);
				strongBlack = new Rook(false, new Point(x,7),this);
			}else if(x==1||x==6)
			{
				strongWhite = new Knight(true, new Point(x,0),this);
				strongBlack = new Knight(false, new Point(x,7),this);

			}else if(x==2||x==5)
			{
				strongWhite = new Bishop(true, new Point(x,0),this);
				strongBlack = new Bishop(false, new Point(x,7),this);

			}else if(x==3)
			{
				strongWhite=new King(true, new Point(x,0),this);
				whiteKing=(King) strongWhite;
				strongBlack = new King(false, new Point(x,7),this);
				blackKing = (King) strongBlack;
			}
			else if(x==4)
			{
				strongWhite=new Queen(true, new Point(x,0),this);
				strongBlack = new Queen(false, new Point(x,7),this);
			}
			setPiece(whitePawn);
			setPiece(blackPawn);
			setPiece(strongWhite);
			setPiece(strongBlack);
		}
		
	}