Update holmes_paul_assignment3.js

Modified temperature function at beginning of code.