working Equal() and String() methods for Fifo