Calculation of electronic properties of multilayer graphene with Monte Carlo method