added 2s compliment converter code