Added solution to the 6th Project Euler problem in Ruby