added linkedListOfPairsToAssocArray function
added test for linkedListOfPairsToAssocArray function