Simulator for Magnetic Recording Process