Exception for negative numbers handled in the lib file
Standard class for negative numbers added