finish ruby exercise