changed how get_infix handles spaces in cout.