Sharygin 2012/8
Given three points `A`, `B`, and `C` in the plane, determine whether the angle at `B` is a right angle. The input is a flat array `[ax, ay, bx, by, cx, cy]`. Return `1` when the vectors `BA` and `BC` are perpendicular, and `0` otherwise.