api fixed for assigment
fixes styles and isFull function
fixes backwash but worse the time. ~lg n => ~ n
still have O(n lg n) time but not backwash