bad trying to write Exceptions for Factorial
copypast of Stack
trying of creating List