walking detection initialization: Initialize unallocated memory to NULLs