Began working on line detection algorithm