Organised code by pertinence
Added d2b() and h2b() number conversion functions