파이썬은 스택이 없다. => 리스트로 대체push => appendpop => poptop => stack-1
초기상태 : front = rear = 0rear = (rear+1) % 큐 사이즈rear 자리에 삽입front = (front+1) % 큐 사이즈front 자리에 삭제(front+1) % 큐 사이즈 반환max = (front< rear) ? rear : rear