Add solution to 'Mth to last'