Fix incorrect element types in Ruby Diving Deeper