Automatic system for Gram stain