Convert Decimal to Binary without using arrays