Added heat detector

This was the first medium level problem I have attempted. It took way
longer than it should have. felt pretty ridiculous when I found the
logic error that had been giving me trouble.