def header(title):
    """Construct a nice looking header."""
    star_count = int((20 - len(title) - 2)/2)
    head = '\n' + '*'*20 + '\n'\
        + '*'*star_count \
        + ' ' + title.upper() + ' ' \
        + '*'*star_count + '\n'\
        + '*'*20
    return head