Developing students’ functional thinking in algebra through different visualisations of a growing pattern’s structure