Main Code Added

Main function pushed. Program can now be fully compiled and ran for
result.