Problem 43 in Ruby (Needs testing on faster machine)
Problem 50 in Ruby (In Progress)