Added 2d array to student func