My Algorithms implementations in JavaScript