Simple snake game on html table