Just general algorithms I code for fun.