fixed algorithm bug where:
if two operands occured in a row, it would sent a warning saying that it
was an invalid equation.