Add support for negative integers for add and subtract functions