added flag checking in ls.cpp; updated README.md and Makefile