added a ByteQueue data structure

finished but needs more testing