Computer simulation of DNA supercoiling