Melting in a two dimensional system with dipole interaction