Added AI

AI makes a move whenever you press a directional key. Unfortunately it's
very slow. Search depth is very reasonable but JS is just slow as
anything (~40k-50k nodes per second).