this is exercise one of ruby precourse