fixing some formatting issues and adding updates to ArrayStack