Modelling of groundwater flow in heterogeneous porous media by finite element method