The variable arr that you have declared this way:
var arr = new Array()
is a private variable inside the function firstStep() so the other method showMe will not be able to access it.
it should be declared as global variable outside the scope of the function like this
var arr = new Array();
arr[i] = new Image();
arr[i].src = "images/no"+i+".jpg";