Split code into main function-> Input.cpp, Function declerations->Math.hpp and function definitiions in Math.cpp