Implementing Solve

Partially completed the solve game function