wrote read and write for BTLeafNode but dont know if they work