Line-follower is a project mainly written in C, it's free.
Line-following algorithms implemented on an Arduino Duemilanove with Rutgers IEEE Robotic's custom line-following shield.