https://www.tutorialspoint.com/javaexamples/data%5Fstack.htm