Pulled out Problem trait from AdditionProblem

This will allow writing of other problem classes
Merge branch 'master' of github.com:paulmdavies/mathsproblem