Removed std::cout and std::endl calls.
These were used for testing purposes, and are no longer needed.