Using Malloc For Structure In Python