Basic implementation for the student stack