The student has sinned by taking away innocent lives who were no way connected with him. If at all, he could have stopped after killing his girlfriend, what I mean is even that is a sin, no one has the right to take even his own life, leave alone another person's life but atleast he could have stopped with killing his girlfriend since she was connected to him but what harm did others do?