Updated line finding code
Implemented PID regulator in Lua.

Also added ControlAlgorithm::appendToLuaPath() which modifies Lua's package.path
to allow Lua to find pid.lua when requiring it from simple_algorithm.lua