Python implementation of Generalized Multiscale Finite Element Method (GMsFEM) with the use of FEniCS and PETSc libraries