changed mnist2 to repeat 0 and 9