Create Stack without using Java Libraries