Solver and Solution classes added

Unittest for Solver added

Solution class refactored

Change-Id: Idb3dee7100e5f712082ccba8dab29848bd4669b8
Merge "Solver and Solution classes added"