Lab 8 of ruby course