Inspired by well known game of Color Lines
