implemented arraystack size reservation
added _clear functions
added _peek for arrayqueue