use argparse instead of optparse
Merge pull request #12 from yanne/replace-optparse-with-argparse

use argparse instead of optparse