Moved memset of memory space to where it belongs, earlier the memory might have had remnants of old memory if two programs are run in sequence using the same brain struct.