Did some sweet polynomial stuff using a polynomial gem. Got reduce working, got add working.