Moved trees code and updated related exercises.