Secret Number homework

Hey Max and Brooks!

This is my attempt at the secret number assignment.

I was wondering if there's a better way to have the ruby program exit right after the user has successfully guessed the number. (My solution right now for this is lines 63-64 on the code)

Please also give me overall feedback on how to improve this!

EDIT: I've made some changes to my code to follow the instructions : )
Also, I've modified it slightly to make it more challenging for the user.

Thanks,
Jared