Convert sorted linkedlist to binary search tree