The Deck Assignment

Your mission is to create a deck.  You must use an array based implementation.  You can find sample input and output in this directory.  Your output should match mine.

Points
Task
1
Implements void addFront(int t)
1
Implements void addBack(int t)
1
Implements int popFront()
1
Implements int popBack()
1
Implements bool contains(int t)
1
Implements int count()
2
Can resize the array.
1
There are four asserts.
-1
Turned in after Thr Nov 26th at 4:01pm
-2
Turned in after Tuesday Dec 1st at 4:01pm.

Here are the commands from the input file.
Command
Meaning
a 1
insert into the front a 1
b 2
insert into the back a 2
c 3
remove from front.  The '3' is ignored.
d 4
remove from back.  The '4 is ignored.
e 5
Does it contain a '5'