Code cleanup for line_follower