Create canvas element onload and include grid and snake classes