public static void print(Object[] array) {
		int i = 0;
		int rowCount = 1;
		int indent = array.length;
		int spaces = 0;
		while (i < array.length) {
			
			indent = (int)Math.floor((float)(indent) / 2.0);
			for (int k = indent; k > 0; k--) {
				System.out.print("  ");
			}
			
			for (int j = rowCount; j > 0 && i < array.length; j--) {
				
				System.out.print(array[i++]);
				
				for (int l = spaces; l > 0; l--) {
					System.out.print("  ");
				}
			}
			
			spaces = indent;
			rowCount *= 2;
			System.out.println();
		}
	}