size function added
toString + toArray functions added.