This function calculates the prime-factors of a number
prime.factor(n)
n
the number to be checked #'
a vector with the prime factors
prime.factor(21) prime.factor(100)