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.
Merge pull request #4 from joshtch/master

Make 2s appear more often