added solutions for reverse words and zero matrix.