Creates Number to Binary function

This function will convert a number to binary taking care if there are over flow or whether it is a negative number