First pass at ruby/taken.rb

Does not have full functionality as perl version; see TODOs in
ruby/taken.rb