b-tree implementation in java