Make 2s appear more often

Make 2 appear 9x more often than 4. Also change the RNG to use bash's built-in pseudo-RNG.