Added debug output, randomRange, and shouldFire

debug prints a set of weight equations and inputs
randomRange generates a random number in the specified range
shouldFire predicates the firing of a bullet based on its weight equation