Implemented WiringPi code with Mcp3008 chip, Thermistor now reads correctly :)