Created an agent that is capable of getting the current state (window, temperature and heating) and of changing the heating state.