# Path: iolibrary.py
# def get_arguments_dict(args_list):
#     '''
#     Parse command line arguments that were given to the program that calls this method.
#     '''
#     parser = argparse.ArgumentParser(description='Parser of breach.py output')
#     parser.add_argument('caller_name', metavar='caller_name', help='The program that called the argument parser.')
#     parser.add_argument('--execute_breach', action='store_true', help='Initiate breach attack via breach.py')
#     args = parser.parse_args(args_list)
# 
#     args_dict = {}
#     args_dict['execute_breach'] = True if args.execute_breach else False
#     return args_dict
# 
# Path: constants.py
# DIGIT = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
# 
# LOWERCASE = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']
# 
# UPPERCASE = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']
# 
# DASH = ['-', '_']
# 
# NONCE_1 = 'ladbfsk!'
# 
# NONCE_2 = 'znq'


import sys
from iolibrary import get_arguments_dict
from constants import DIGIT, LOWERCASE, UPPERCASE, DASH, NONCE_1, NONCE_2

def create_alphabet(alpha_types):
    '''
    Create array with the alphabet we are testing.
    '''
    assert alpha_types, 'Empty argument for alphabet types'
    alphabet = []
    for t in alpha_types:
        if t == 'n':

# Path: iolibrary.py
# def get_arguments_dict(args_list):
#     '''
#     Parse command line arguments that were given to the program that calls this method.
#     '''
#     parser = argparse.ArgumentParser(description='Parser of breach.py output')
#     parser.add_argument('caller_name', metavar='caller_name', help='The program that called the argument parser.')
#     parser.add_argument('--execute_breach', action='store_true', help='Initiate breach attack via breach.py')
#     args = parser.parse_args(args_list)
# 
#     args_dict = {}
#     args_dict['execute_breach'] = True if args.execute_breach else False
#     return args_dict
# 
# Path: constants.py
# DIGIT = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
# 
# LOWERCASE = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']
# 
# UPPERCASE = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']
# 
# DASH = ['-', '_']
# 
# NONCE_1 = 'ladbfsk!'
# 
# NONCE_2 = 'znq'


# Path: thesis/src/hillclimbing.py
import sys
from iolibrary import get_arguments_dict
from constants import DIGIT, LOWERCASE, UPPERCASE, DASH, NONCE_1, NONCE_2


def create_alphabet(alpha_types):
    '''
    Create array with the alphabet we are testing.
    '''
    assert alpha_types, 'Empty argument for alphabet types'
    alphabet = []
    for t in alpha_types:
        if t == 'n':

            for i in DIGIT: