Added some algorithm explanation
documentation added