change require to require_relative for ruby 1.9+ compatiblity

Changing  `require` to `require_relative` got this program working on ruby 1.9+