new way of solving first task

Entirely new way for solving the first Ruby task