Mod: Completed game board logic validation function
Mod: Clean up main.js file.
Mod: Code clean up.