Minor changes.

Going to do face model of square grid.
Minor changes.
Implemented onclick, Random and Reset.