This is for the stack implementation project in comp 245, and project 5