Solver works for all integer calculations except exponentiating
added comments
Merge remote-tracking branch 'origin/master'