A computer simulation of point defects and planar defects in nickel