Added 131_e solution for ruby