added an interview question from amazon: PrintMatrix

Print matrix in certain order