Simple pieces of ruby code. Just for remember concepts