added test to determine if list is empty and each list object is on the list.
removed count variable and comparison test btw count array and list
Merge github.com:jgpelletier/algorithms

Conflicts:
	ecma/jagged-railway.js