Chapters 3 - 6

Added work done for chapters 3 through 6.