Let $G$ be a group and suppose that $|G| = 2^n$. Prove that there is a subset $S$ of cardinality $n$ such that $S$ generates $G$.
All I really have so far is that I know a subset $S$ of elements of a group $G$ generates $G$ if $S$ has the property that every element in $G$ can be written as a (finite) product of elements of $S$.
Also, don't we have by Lagrange that $G$ has a subgroup $H$ such that the order of $H$ divides the order of $G$. But we are only asked for a subset of $G$ that generates $G$.
I can't figure out how we have S. Would we prove by induction, maybe?
Please help.