Javascript bulls & cows player and solver.