Updated ScanActor.java
added commenting and included functionality for return message.
please take a look and ensure that everything looks right