Add methods for btree node serializaton.
Change btree insert method return value.