Update dp.c

Changed code to handle all negatives.