Light sensor help? plz it is for sci fair

I need to program a light sensor to turn towards the greatest light source in the sky which is the sun and continue to follow it any help?

Ps: The only thing i have access to is easyC