Turkish prosecutor investigates exam 'irregularity'