Create Stack.java

not actual stack. it just imitates the stack but instead of deallocating memory, i am using -1.