I did this to try out Macaulay2's "triangularize" function, but that turns out to use Maple for rings with more than three variables.