Factored out random track generator algorithm
Corrected typo
Merge pull request #37 from petersohn/master

Factored out random track generator algorithm