add destructors for arrays in Hair
include string.h for memset usage