added i/o files, directory structure, and main.cpp