changed Math.random to Common.random and use a seeded RNG
added building and contributing to readme
added CONTRIBUTING.md