An introduction to Invariant Theory