insertInTail() and findByValue() has been tested and modified. It seems that both of them work fine now.