Stack class was written