Small algorithms and scripts for fun.