final submission

updated instructions and main.