some ruby examples for execise purpose