RT Lab 1 Part 4: Added code for line tracking.