def printDivider(length, character='-', newLineAbove=True):
    """ Print a horizontal divider """
    assert type(character) == str and len(character
        ) == 1, 'Character must be string of length 1.'
    divider = character * length
    if newLineAbove:
        divider = '\n' + divider
    print(divider)
