added solution to euler 18 in ruby