oops: fixed bug in array_push_front when array is empty
mod: array size should always be at least 2
oops: removed shrink code