https://dailyjavaconcept.com/stack-implementation-using-array-in-java/
Stack Implementation using Array in Java