Function ray

Gets all squares of the rank, file or diagonal with the two squares a and b, or an empty set if they are not aligned.