As I practice common algorithm implementations, I'll put them here.