Finished skele of program without file manipulation.