Added ruby template
Added p1 ruby solution