problem 7 in ruby.

* Solve problem 7 in ruby.
* Move sieve of eratosthenes code to include/primes.rb to avoid
  duplication.
* Rewrite p10 to use the above include.