added support for [] subscript operator overloading ( __getitem__ ).