line following code not working

Can anyone help i have a two wheeled line following robot but instead of following the line it just spins in cricles

sketch_feb23a.ino (2.43 KB)

my code is not workin

It does something. It is, therefore, working.

That it does not do what you expect means that your expectations are not working.

So, what does it do? What do you expect it to do?