added temperature logging code
adding .gitignore back in