modified Cache to work (hopefully).
Added the cache code to the writeNode, and retrieveNode methods in the
BTree class.
fixed a misspelling (retrieve).