Mth To Last Element challenge - CodeEval