Fixed Bug In Helper Function
Fixed Bug In Helper Function

The function is no longer tail recursive, but since the number of
elements in the lists it operates on are relatively small (less than
20), figured it doesn't matter.

jackfirth/herbie,jackfirth/herbie,jackfirth/herbie,jackfirth/herbie,jackfirth/herbie,jackfirth/herbie