Added working ls.cpp and update Makefile
Fix some small errors and added ls_test script files