number 13 solved, primes function written