central elevator algorithm implemented based on SCAN