updating code for 2nd edition!
Merge pull request #1 from jcmeloni/2ed

updating code for 2nd edition!