The $n$-body problem and its symmetries