A legacy of apartheid means some black students have to go the extra mile to get a decent education.