java Implementation of a b-tree