Added arbitrary # of threads passed in through command line argument or use all of available cpu cores if no argument given. No input checking or comments. Also made the prints stay on the same line.