Homework exercise "Method .times implementation" for it-academy Ruby course