Source: https://pilatcode.weebly.com/uploads/5/5/8/5/55850567/projet_binairedecimal.pdf