add arrayify and list? methods for Cons class