ruby makes it really easy to tackle prime numbers