Ruby practice

First ruby trial (guess number)