BackEnd

Added a function to generate a random game
Added a variable input to backend to specify duplicates