Create factorial.rb

this is  very simple ruby  script that calculates factorial