Added Doxygen documentation to primes