added totalAmount return for SHUTDOWN message
Merge branch 'master' of https://github.com/pauljs/CS283
added shutdown comment