Update ls.cpp

The missing semi-colon generated two compiler time errors.
Merge pull request #306 from aorti017/patch-1

Update ls.cpp