A personal exercise for implementing a stack with a Java ArrayList.