added ability to find minumum temperature along with an if statement: find_min