complete eval.cpp
Fix print issues. Fix bugs