GraphWiz: An Instruction-Following Language Model for Graph Problems