Updated ScanActor.java
wrote the searchInput() method