Binary tree + Threaded version (initial changes)