Update simpson.cpp

Removed Static Keyword