finished with putting the temparatures into an array