Update Euler8.rb

Changed the ruby solution to read from a file instead of using a constant