Change program to loop until user wants to quit
Move mathmatical functions to their own C++ functions
Move functions so that they compile (no header file)

Added generic input number grabber
Removed example comments