fixes syntax errs in problem 2

rearranges directories
begins problem 3