Algebra group structures for quaternion group