moveelevator(e)＝＝\*move the elevator to the next floor unless we have to open the doors here.