Using Malloc For An Array In Python Code For Snake