Classical two-store building elevator problem solution