Finished Problem 5 -- captured error in polling values and plotted histogram. Also replaced missing polling values with NaN