Target output for prog1 (version 2)

Hey folks,
Here are the outputs I'm getting for the default input on program 1.
One is with a black background and other with a white.


-Ajinkya

Part-1(a)
Part-1(b)
Part-2(a)

Part-2(b)