Hashim Amla says South Africa are in a good position going into the final day of the third test against England.