Students help math teacher win national prize and free cruise