Homework Submission.

secret_number.rb homework submission.
@ajburg removing finishloop will make the code more readable. As you can simply use loopcount