An introduction to the history of the andromeda galaxy