change in png_from_table method

Modified the method to work with arrays
This is really odd: ```"#{Dir.pwd}/" + file_name```, why not ```"#{Dir.pwd}/#{file_name}"```?