translation to SMTLib format + binary search tree proved

I have fixed this issue in the other pull request I made to prove list examples.