Bug fix when infecting wall/empty space; first stab at a learning critter