Development of algebraic thinking : opportunities offered by the Swedish curriculum and elementary mathematics textbooks