A b-tree demonstration in Java