static void Main(String[] arg)
        {
            Stopwatch stopwatch = new Stopwatch();
            NumberGenerator newGenerator = new NumberGenerator();
            LinkedList linkedList = new LinkedList();
            int[] arrayList = new int[0];

            newGenerator.Generate(10);
            linkedList = newGenerator.ReturnLinkedList();

            Console.WriteLine(linkedList.ToString());
            linkedList.PrintBackwards();
            Console.Read();
        }
        //Creates a LinkedList with current 'random.txt'
        public LinkedList ReturnLinkedList()
        {
            using (sw)
            {
                string fileContent = File.ReadAllText(@"../../random.txt");
                string[] integerString = fileContent.Split(new char[] { ' ', '\n' }, StringSplitOptions.RemoveEmptyEntries);
                LinkedList list = new LinkedList();
                for (int i = 0; i < integerString.Length; i++)
                {
                    list.AddToBack(integerString[i]);
                }

                return list;
            }
        }