public void HandleClient(object obj)
            {
                TcpClient client = (TcpClient)obj;

                StreamWriter writer = new StreamWriter(client.GetStream(), Encoding.ASCII)
                {
                    AutoFlush = true
                };
                StreamReader reader    = new StreamReader(client.GetStream(), Encoding.ASCII);
                StreamReader newReader = new StreamReader(client.GetStream(), Encoding.ASCII);

                bool   ClientConnected = true;
                string data            = null;
                string intData         = null;

                numberOfClients++;
                Console.WriteLine("Current number of clients connected: {0}", numberOfClients);


                while (ClientConnected)
                {
                    intData = newReader.ReadLine();
                    int ii = Int32.Parse(intData);

                    data = reader.ReadLine();

                    Console.WriteLine("Message recieved from client: {0}", data);
                    Console.WriteLine("THIS IS THE INTEGER {0}", ii);
                    writer.WriteLine("Number of A's so far: {0}", resource.AddToCount(data));
                    Console.WriteLine("Number of A's so far: {0}", resource.currentCount);
                }
            }