Cold Spring teacher asks students to text in class