added equal example with complex array
added class