Created main file, with input and output.