Added Problem1

-Solved and adde Problem1
-Cleaned up main and added standard output for answers.