Working Version of multiplication also with negative numbers as input