Surgically created neural pathways mediate visual pattern discrimination