Գրեք սա: Classifying the complexity of constraints using finite algebras