Added functions to check all the marriages