added pseudocode for btrees