Found the maximum path in the triangle - in Ruby