Traditional computer science algorithms and data structures implemented in JavaScript