Knowledge of algebra for teaching: a framework of knowledge and practices