Added Midpoint method
Added tests for Midpoint solver