A Ternary Analogue of Abelian Groups