Solution

Solution to Problem Assignment 2: Lexical Scoping
Changing the solving function

Changing how the solve() function is implemented.