add synchronous implementation of getRandomInt
add gitignore file