//Changes made:
/* 13/5/2014
 * Changed decimalvalue from float to double - more workable
 * Made a check that startingPowerOfTwo is LESS than zero.
 * Taken away artbitary -1 in maxpoweroftwo = poweroftwo; in step 1
 * Added + 1 in int[] binaryIntArray = new int[HighestPowerOfTwo -
maxpoweroftwo + 1];
 * Added if (maxpoweroftwo > 0) maxpoweroftwo = 0; before "Create a
temporary int array for binary digits in order"
 * Changed > to >=
 * 
 * 14/5/2014
 * Changed NumberOfDecimalPoints++ to if (maxpoweroftwo < 0 &&
NumberOfDecimalPoints + maxpoweroftwo < 0)
 *                                           NumberOfDecimalPoints = -
maxpoweroftwo;
 * Added checks such that maxpoweroftwo <= 0 and HighestPowerOfTwo >= 0.
 * Changed the check for writing the decimal point else if(count ==
indexOfZeroPower) as all int [] values are 0 by default.
 * Changed order of logic at //Fill in decimal point and make the string
 */