refactored parameter that indexedProperty needs
added example for book chapter 4 social network generation
Merge pull request #4 from jexp/master

refactored parameter that indexedProperty needs