Completed ruby exercise 40.