The Popular cows and bulls game implemented in javascript