Added resource cleanup to example 3
added stateful actors
Merge pull request #1 from lilred/master

weird permission issues with committing to hackmcgill?