This second edition introduces two new chapters -- twisted polynomial invariants and singularities of plane curves. Each replaces brief sketches in the first edition. Chapter 2 has been reorganized, and new material has been added to four other chapters.