get_turns(L,A) - handled the back endpoint of the Linestring
get_turns(L,L) - TODO comment added
get_turns(L,A) - fixed turns generation for endpoints of collinear front/back segments, added some tests