How can I loop through the rows and Identify in which semester John and Aaron had the highest grade? Note: Without using inbuilt pandas functions