B-Tree implementation with Java