prints word pairs