added collection-algorithms2.js
First draft of A*