Karplus-Strong Algorithm.