Remove some testing code

Removed a part of code that prints the data to the console for testing
purposes.