Motility And Intelligence Of Microorganisms In Microconfined Networks