My answer to Machine Problem 4 of my CS 32 class in University of the Philippines Diliman. Adds two three-variable polynomials.