implemented remaining methods for the Num interface

abs, signum and fromInteger