starting ls, checking flags arguments and folder as argument
function ls created, command ls and ls+directory working