Update main.rb

Added Comments to Source Code.