Refactoring random-pos to use crand-int instead of accessing internal instance of Random