Add a random level generator
Merge branch 'master' into checkpoint
Fix coding style