I dont understand why i am getting garbage values in some part of my 2D array. Please help