Added Solver Class

Added Solver class. Also added pushLeft and pushRight methhods. Which
right now work only for simple cases.
added 2 unit tests. For thiese methods.