So I am trying to make a graph matrice using my own input from a for loop and I am getting this weird problem I enter for testing 1 2 3 4 5 6 7 8 9
and get 0 0 0 1 0