PM blames mutant algorithm for exam fiasco