implemented simple elevator demo