How To Create Boolean Array In Python