Removed some code duplication in disasm.py
Use argparse in disasm.py for commandline parsing.