Added a binary random function
Adjusted spawn system to accomodate traps