Changed encoding to UTF8
An HTML page for testing canvas
New functions

pairToOne: converts the indexes from a two-dimensional array to a single
index for one-dimensional array.
pairToOne: converts a single index from one-dimensional array to indexes
for a two-dimensional array.
Input.js calculates the tile clicked