Basic args parser

Parses -l -p -d flags and prints them to stdout.