update to infix.cpp