I don't understand your question. The first sentence is OK except for the first comma. It should be after "ahead" instead of "one".
Student or Learner
A great teacher is one, who moves ahead taking along all the students, keeping in mind that no needy student is left behind.
Are the phrases "taking along all the students" and "keeping in mind" come together in the same sentence, the way they have been used in the above sentence?
Actually I am also confused regarding the meaning of the sentence. Could you help me with the meaning?
A good teacher teaches students, thereby moving them ahead in academics. Therefore the teacher is "taking them along" as if they were on a road to education. "Keeping in mind" means not forgetting that "slower" students must not be forgotten.