Changed processor to pic16f877.  Updated LCD, SPI, and thermocouple initialization functions to initialize TRIS registers instead of being initialized in main.c.
lcd.c: changed lcd data(0:7) to PORTD(0:7) and changed RS ,R/~W, and E pins to B0, B1, and B2.  cleaned up command and data write functions.
thermocouple.c: changed chip select for thermocouple chip to PORTC(6).
Also removed unnecessary include files.