malloc to calloc
print array function
zero clear in dequeue and pop function