Change file Naming
diff --git a/nlsr_npl.cpp b/nlsr_npl.cpp
new file mode 100644
index 0000000..1f9ae3d
--- /dev/null
+++ b/nlsr_npl.cpp
@@ -0,0 +1,41 @@
+#include<iostream>
+#include<algorithm>
+
+#include "nlsr_npl.hpp"
+
+using namespace std;
+
+Npl::Npl(){
+
+}
+
+Npl::~Npl(){
+
+}
+
+static bool
+nameCompare(string& s1, string& s2){
+ return s1==s2;
+}
+
+int
+Npl::insertIntoNpl(string& name){
+ std::list<string >::iterator it = std::find_if( nameList.begin(),
+ nameList.end(),
+ bind(&nameCompare, _1 , name));
+
+ if( it != nameList.end() ){
+ return -1;
+ }
+
+ nameList.push_back(name);
+ return 0;
+
+}
+
+void
+Npl::printNpl(){
+ for( std::list<string>::iterator it=nameList.begin(); it != nameList.end(); it++){
+ cout<<"Name : "<<(*it)<<endl;
+ }
+}