Python implementation of P. Talukdar's Modified Adsorption algorithm