added and tested negate method
created absValue method and tested successfully