simple practice ruby scripts for exercise