Neatened method to convert between binary and hex direct, not via decimal
Removed superflous code form previous exercise