# SICP Solutions

### Chapter 4, Metalinguistic Abstraction

#### Exercise 4.44

This turned out quite concise.

I just changed the main procedure queens of ex-2.42 and other helper procedures were not changed(except i removed one redundant argument in 1 or 2 procedures which i kept in that exercise to make procedure parameters same as in the problem statement).

Note that I use the same structure to represent the board as i used in ex-2.42. Thus display-board procedure which i implemented there can work here too.

Also, i found one subtle bug in my procedure an-integer-between. It should return integer between them. Thus should(as per my understanding) not include the edge points. The old code can be found in ex-4.35.

Output: (only tested for board-size 6, as most of the code is same as ex-2.42)