Change loop to break on keyboard interrupt
break serial response into array
make separate writeTemp function to clean up main loop
refactor code