HOLY SCHNIKES IT WORKS! mostly...

OUTPUTS THE RIGHT VALUE! Compare code still needs to check cases for 4
(IV, not IIII).