How to duplicate questions multiple times based on user input?