print_red replaced by printError
On the fly tests for createSocialNetwork. Close #108.