Common data structures and algorithms implemented in CoffeeScript