submit HW 2 - secret number

As in your secret number program below, this declaration of `index` is unnecessary. Why is that?