You and your teacher are both right. An array would be easier (you are correct) but you also don't need to (she is correct).

Good luck with the project and let us know if you run into any snags.