Assignment 1 for iOS class - Temperature Control