Added looping condition to menu system in main.rb for multiple runs