small ruby programs