Dear Student,
A freely suspended magnet will also point towards south. The south pole of a magnet bar points towards north because the magnetic field around the earth happens to have its north pole towards north. South and north attract each other. That is why a compass work as it does.
Regards