added the main.rb file to run program