An introduction to finite p-groups: regular p-groups and groups of maximal class