Update docuemtnation and change code.

Update documentation, delete unused code, add unit test for Class PeterNorvigAlgorithm, configurexml and algorimth files, also add unit test for  PeterNorvigAlgorithm, configurexml.