changes show method to return an array and runner file puts the array
adds tests