Let $G$ be a set with an operation $\ast:G\times G \rightarrow G$ such that:
(1) For all $a,b,c \in G$ we have $(a\ast b)\ast c=a\ast (b\ast c)$ (associativity),
(2) There is $e \in G$ such that $e\ast a=a$ for all $a\in G$ (left identity),
(3) For all $a \in G$ there is $a^{\prime}\in G$ such that $a\ast a^{\prime}=e$ (right inverse).
Show that $(G,\ast )$ need not be a group.
I can't think of a counter example that satisfies this not being a group.