Adelson-Velskii and Landis' Tree implementations in C