Function between

Gets all squares between a and b (bounds not included), or an empty set if they are not on the same rank, file or diagonal.