Function that finds the top student