Fixed typo in scanner_data.rb and created new scanner example

- Changed socket.read_str  to socket.read_string  in scanner_data.rb.
- Created scanner_data example script