Added array size checking in Array stack implementation.
Merge remote-tracking branch 'origin/master'