Seventh grade students at Tenafly Chabad Academy are studying patterns and aced an assessment on the topic