Time Limited Exceed. Program has no Deadloop, but Judge try to print a dead loop linked list