Merge pull request #7 from bigeasy/jagged

Determine if list is empty.
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
added missing comments
added comments
added addStation function
added if/else statement within main
deleted unnecessary comments
moved function outside main
made a diagonal set function
removed if/else statement in main and added the goEast function to the add station function
update
update
changed goEast function to append
added instructions for the append function
in the addStation function, I changed the first argument of the append function.
created a direction variable to add control flow
removed direction variable and added goEast and goWest functions
commented out texting functions