If $G$ is a non-abelian group of order $p^{3}$ for prime p , then the center of $G$ is generated by all elements of the form $aba^{-1}b^{-1}.$
Let $p$ be a prime number and $G$ a non abelian group or order $p^3$. Prove that $Z(G) = [G,G]$.