completed arraydeque, fixed some assertions