given two points, it returns the angle in degrees between them