command line parsing using getopt_long

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
add a.out to .gitignore

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>