Committing code that runs on spark core

Implements a simulator instead of actually reading temperatures from a
temperature sensor.