Dynamical properties of a Boolean model of gene regulatory network with memory