Adding ls.cpp
Adding test