StackImpl.java was added with code for isEmpty,push,pop and top methods