Create the_gb.rb

This is the entire script. I just put it here for reference and posterity.