Class AbstractAlgorithm<N,​Row,​Column,​Color,​Font>