creating prefabs for magnets and adjust map maker script to create magnets