changed malloc stuff in linkedlist
Merge branch 'master' of https://github.com/shiyingzheng/CS241_hw8
stuff