Take a look at this project:
"PIC 16F84A TEMPERATURE CONTROLLER" (see picture below) **broken link removed**
It will require several modifications, if you would like to use a K-type thermocouple as temperature sensor ..
Also, take a look at the MAX6674 which is K-type thermocouple to digital converter: **broken link removed**