* Added functions to compare tuples which is used in Moana's MAP