The code for the dating problem given by John