I\'ve been searching the answer for an exercise. This exercise gives us an array with numbers between -1 and 1. We are asked to count how many times the signal array changes