I'm doing an [exercise](https://i.stack.imgur.com/O1S1J.png) from picturing-programs.

I'm also not sure if the exercise wants me to just produce a white rectangle or a black rectangle or a rectangle with randomized black and white pixels.

The solution is not coming straight to me and I might be overlooking something simple. Any tips to solve are appreciated.

My approach so far has been thinking of a way to make a black or white pixel appear in one spot randomly and I'm not sure on how to do that yet either.

I'll add the code for that also.

This code is not fully functional either because I was trying different things, so excuse the randomness of certain functions or expressions.

I've been able to create random colors everywhere, but not explicitly black & white pixels.

```
(define (safe-2.55xy x y)
  ; x a number
  ; y a number
  (min 255 (real->int  (abs(- (random 255)255)))))

"Examples of random-bw-picture:"

(define white (color 255 255 255 255))
(define black (color 0 0 0 255))

(define (random-pixels-picture width height)
  (build3-image width height safe-2.55xy  safe-2.55xy  safe-2.55xy))

(define (black-pixel-function x y)
  (min 255 (real->int   0 )))

(define (build-black-pixel x y )
  (make-color 0 0 0))

(define (build-white-pixel x y )
  (make-color 255 255 255))

(build-image 100 100 build-black-pixel)
(build-image 100 100 build-white-pixel)

(define (random-bw-picture width height)
  (cond [(number? width) (random-pixels-picture width height)]
        [(number? height) (random-pixels-picture width height)]
        [else (random-pixels-picture width height)]))

```