Simulation of the point defect behaviour in a lattice by the Monte-Carlo method