Updated sortedlist and started encode
Merge branch 'master' of https://github.com/shiyingzheng/CS241_hw9