Completed ruby exercise 1