Takeaway written in ruby Makers Academy challenge