add ndim to both Expr and DistArray
Merge pull request #34 from EasonLiao/add_ndim

add ndim to both Expr and DistArray