OO implementation. To test and some functions in Btree to implement in OO