updated ls.cpp with skeleton code