Chapter 3

Completed chapter 3 exercises. Ready for review. ...should probably use a better branch name next time also. I would change it but don't want to start deleting branches from here.
nice loop to have both the index and data without having to derive one from the other