Fixed #2 added support for subscript assignment.
Fixed #5 added support for attribute assignment.