General Random Walk in One Dimension and Its Application to DNA Transcription Process