Langton's ant on JS + Canvas