Word Search Solver, cleaning

Some code cleanup, and preparation for a THREE.js physics engine (I swear)!