Changed some variable types, mostly those dealing with the bids, seemed to make more sense for them to be floats.  Added a debug flag, flags for program exit and true/false. Not really sure about the logic of the program still.