Handing tree traversal, fixing a few index bugs
Changing name of evaluation function