Added method to create terminal node for integer variables, supporting things like a=2