An agent-based scheduling system for a flexible assembly cell