working on ls, seg fault if first cmd is ls dontexist