Student accused of sending sexually explicit, threatening messages to classmates