Learning Swift, making a Factorial script