A mix of Ruby, Python, and Javascript implementations of algorithms for my own benefit