The comparison between one's answer and (x+y) will always be 'wrong' if we are comparing fixnum with string, hence to_i is reqd
adding brief info on what does to_i do with a link to the documentation on the same
Merge pull request #61 from boddhisattva/master

Need to add to_i to compare one's answer correctly with values of x, y generated through rand func