added random number functions
added probability methods
changed objects to Util
reformatted spacing
fixed function definitions