Kyle's code to get points on arrows
can tell direction of arrows