Man pleads guilty for dog cruelty