reformatted main.cpp
added ls.cpp