api for assignment 2
wrapping increment functions to be used with resizing array
all edge cases solved except full wrap
fixed all wrapping bugs simply!
implemented data array wrapping in queue
implemented generics and array casting to make generic queue object