Modeling One- And Two-Dimensional Shallow Water Flows With Discontinuous Galerkin Method