Added some comments to algo/palin