tiagoufrj is correction. The Header needs to be initialized. Step through the createNode function one by one, when you reach Header.data=x; you should see Header is null. To fix, you should first...