Some ruby samples written while learning language