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

The comparison between one's answer entered on prompt and (x+y) will always be 'wrong' if we are comparing fixnum with string, hence to_i is required.