Update hitManProSamples.py

Added logging, split into functions.