implemented int2LetterNumber method and replaced bad code