title: Why does this Adjacency List Produce Error On Input >= 7914?
body: <h3>Problem</h3>
  <p>The following adjacency matrix works for all numbers from 1 to 7913.</p>
  <p>Whenever the user inputs 7914 or greater, it produces the following error:</p>
  <h3>Error</h3>
  <p>Exception Thrown at 0x009818B9 Access Violation Reading Location 0x00550004</p>
  <h3>Error Location</h3>
  <ol>
  <li>Error located in method <code>addEdge()</code></li>
  <li>Error located at the code <code>newNode-&gt;next = graph-&gt;array[dest].head</code></li>
  </ol>
  <h3>Question:</h3>
  <p>Why does it work for the input 1 to 7913, but throws an access violation at any number greater than or equal to 7914?</p>
  <p>Code has been fixed</p>
  <pre><code>//edit_removed_code
  </code></pre>