Prime numbers

added primes.js, a program that calculates prime numbers