Php algorithms library for codeigniter and others.