Adding solution for Find the Diagonal