Returns cost of making X [ ] and Y [ ] identical . costX is cost of removing a character from X [ ] and costY is cost of removing a character from Y [ ] /
function findMinCost ( & $ X , & $ Y , $ costX , $ costY ) {