Wrote core.js

Added directory and file for core.js. Wrote basic code skeleton
including error messages and minimal functionality. Not yet ready for
generating puzzle grids.