add parsing for negative ints.

because I somehow forgot to add that originally.