A shock-capturing computational method for two-dimensional dam break type problems