Added INPUT_HIGH and INPUT_LOW to case switch

Also removed boolean parameter for produceNode method.