Added functions binToDec and DecToBin for conversion between decimal and
binary number systems.