sun tracker using two dc motor

I can't imagine why any complicated code is needed for this project. In principal it only requires

while left LDR is darker move motor a little towards the right LDR

and vice versa.

20 or 30 lines of code?

Its not as if the sun moves quickly or erratically.

...R