assignment4-Principles-of-Programming-Languages solution of assignment4 in course- Principles of Programming Languages