Simple B+ Tree Database in Java and Ruby