Created Stack.java for next data structure.