added in check function and removed error checks within other functions
initial commit
created function to test set/empty and serialized
unserialized array