Collinear Pattern Recognition assignment for my Data Structures class.