A gutsy century from wicketkeeper Kyle Verreynne has helped South Africa tighten their grip over Bangladesh in the first cricket Test in Mirpur.