Small Ruby programs for doing Math