fixed LinkedList methods to form queue and finished outlining main method