Added Menu and altered logic for mame perl script

To remove repeated code. Now we ask user whether they want all roms or only their QP selection