I like the way in which p prints out the contents of an array. It's easy 
for me to read. Is it possible to make a method return p array? Or is 
there a better way to do this?

def info
    #create an array
    p array
    return p array
end