Written new seeq algorithm. Also added some nfatrie-related functions.