homework code  added to the code.rb file

I need more practice with this. Still having some difficulty with knowing how to create chaining methods.