queue that takes input string

prints list accordingly.  Inspired by code found online and the data structures class I am auditing