deque: continue prototype work

deque.[c,h] are not working yet; still exploring API.