Study of Binary to Gray code converter