Adding initial version of prime number algorithm.
Adding code.