Added problem 35 solution. Heavy use of ruby Prime library, helps a bunch