* Add implementation for pre-order iterator.
* Move operations to operations.h and operations.cpp files.