So I have a little programm where i want to call a function when the selected Element of the Matrix is 1 but when i execute the Programm it doesn\'t print out every time the