added List datastructure and test.html

added List datastructure in list.js