numpy diag 28 29

Solutions on MaxInterview for numpy diag 28 29 by the best coders in the world