public void printByWidth() {
		if (root == null)
			System.out.println("Tree is empty");
		else {
			BinaryTree[] mas = new BinaryTree[amount];
			int counter = 0;
			mas[counter] = root;
			byWidth(mas, counter, counter);
			System.out.println();
		}
	}