Saves user input in a queue