Intelligent Bacteria