BFS works, Insert is behaving badly.