Added script base.rb

Added a script to convert between bases of numbers.