Patterns Example In Python An Array