Dean Elgar edged out KL Rahuls gritty century by smashing his 14th Test ton to help South Africa take a crucial 11-run lead over India at stumps on Day 2 of the first Test at the SuperSport Park here on Wednesday.Elgar, who is playing his penultimate Test match before hanging