corrected print output for python3 such that newline not output, initial commit of stock helper functions