Create utils.js

utility functions for the sudoku puzzle game