Can someone explain what I\'m doing wrong here? It seems that I corrupt memory in some way. Here is the complete sketch. It just prints out contents of the array. In every itera