Calculating Diagonal Distance | CodeSignal Learn