ruby hw #1