On the nature of interlayer interactions in a system of two graphene fragments