drop random number of pins code updated

drop random number of pins code updated with new function to drop pins
and new constant files added to handle global constants