Chapter 5 globalAlignment, localAlignment