Added two more Ruby solutions