new file:   gdeque.cpp
	new file:   gdeque.h
move implement function from .cpp to .h .
	new file:   history.cpp
add new rules
check boundary
check boundary
add ncurses display
if queue is full, pop front then push back
fixed up, support down key
support q to exit