Difference Schemes for Hamiltonian Formalism and Symplectic Geometry (Journal of Computational Mathematics, 2018)