def nkep():
    input_size = int(raw_input("Enter the desired number of inputs for the networks\n"))
    hidden_node_num = int(
        raw_input("Enter the desired number of hidden nodes. Must be able to divide the input size.\n")
    )
    weight_range = int(
        raw_input(
            "What weight range would you like to use? Note: Enter only one number, the range will be made up of the positive and negative versions of that number.\n"
        )
    )
    cutoff = int(raw_input("Enter a cutoff for the number of correct outputs needed to be synchronized:\n"))
    x = TPM(input_size, hidden_node_num, weight_range)
    y = TPM(input_size, hidden_node_num, weight_range)

    while check_weights(x, y) < 0:
        synchronize(x, y, cutoff)

    print "Weights are now synced, printing them now\n"
    print "First TPM's weights"
    x.print_weights()
    print "\n"
    print "Second TPM's weights"
    y.print_weights()
def print_weights_test():
	x = TPM(5, 2, 10)
	x.weights = [1,2,1,2,1]
	x.print_weights() #Check this by seeing what it prints out
	print "print_weights_test passed? Look to check for sure."