I finish the function for parsing infix.