shor.rb (library file) added