On the formation of protein tertiary structure on a computer