Introduce the "Line" class that wraps the possible combinations in a line