submit HW 2 - secret number

Note that unlike other programming languages, Ruby does not require you to initialize variables in advance. This declaration of `index` and `remaining` is unnecessary. Do you know why? Consider how you are using `index` and `remaining` in your code below.