changed bomb() but not sufficiently tested
changed blackOrWhite