def h(binstr):
    """print rows with hashes and dots instead of ones and zeros."""
    ls = []
    for b in binstr:
        if b == "1":
            ls.append("#")
        else:
            ls.append(".")

    return "".join(ls)