Gunman in Virginia Tech massacre had raised concerns with his disturbing writings