Added line_sense and test cases.