Binary Pattern Print In Python