Functional

Program now performs all major functions required.