Computing zero-dimensional schemes