Create josephusProblem.js