Update hex_generator.rb